package com.gxa.modules.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class HospitalizationDto {
    @ApiModelProperty("住院状态：0：住院中，1：已出院")
    private Integer status;

    @ApiModelProperty("患者的姓名")
    private String name;

    @ApiModelProperty("入院时间")
    private Date inHospitalTime;

    @ApiModelProperty("出院时间")
    private Date leaveHospitalTime;

    @ApiModelProperty("订单总额")
    private Double orderTotal;

    @ApiModelProperty("住院信息")
    private String park;

    //数据不返回给前端
    @ApiModelProperty("证件号码")
    @JsonIgnore
    private String cardNum;

    @ApiModelProperty("住院消费记录的id")
    private Integer id;

}
